package com.huilian.iotbox.admin.dao;

import com.huilian.iotbox.data.dto.MerchantDto;
import com.huilian.iotbox.data.po.Merchant;
import com.huilian.iotbox.data.vo.MerchantVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 谢洛涛
 * @date 2021/3/23 13:14
 */
@Mapper
public interface MerchantDao {

    MerchantVo findMerchantByMerchantId(@Param("merchantId") String merchantId);


    List<Merchant> findMerchantList();

    List<MerchantVo> findList(MerchantDto merchantDto);
    Integer updateMerchant(Merchant merchant);

    MerchantVo findAuthenticationStatusById(Integer id);
}
